AnimationDomain

class AnimationDomain : Domain

AnimationDomain represents Animation protocol domain request/response operations and events that can be captured.

This API is marked as experimental in protocol definition and can change in the future.

Functions

animationCanceled
Link copied to clipboard
fun animationCanceled(): Flowable<AnimationCanceledEvent>
Event for when an animation has been cancelled.
animationCreated
Link copied to clipboard
fun animationCreated(): Flowable<AnimationCreatedEvent>
Event for each animation that has been created.
animationStarted
Link copied to clipboard
fun animationStarted(): Flowable<AnimationStartedEvent>
Event for animation that has been started.
description
Link copied to clipboard
fun description(): String
Returns domain description.
disable
Link copied to clipboard
fun disable(): Single<RequestResponseFrame>
Disables animation domain notifications.
enable
Link copied to clipboard
fun enable(): Single<RequestResponseFrame>
Enables animation domain notifications.
events
Link copied to clipboard
fun events(): Flowable<Event>
Returns flowable capturing all domains events.
fun events(filter: Predicate<Event>): Flowable<Event>
Returns flowable capturing all domains events matching predicate.
fun <T : Event> events(eventClass: Class<T>): Flowable<T>
Returns flowable capturing all domain events of a given type.
fun <T : Event> events(eventClass: Class<T>, filter: Predicate<T>): Flowable<T>
Returns flowable capturing all domain events of a given type matching predicate.
getCurrentTime
Link copied to clipboard
fun getCurrentTime(input: GetCurrentTimeRequest): Single<GetCurrentTimeResponse>
Returns the current time of the an animation.
getDependencies
Link copied to clipboard
open override fun getDependencies(): List<Domain>
Returns list of dependant domains that should be enabled prior to enabling this domain.
getPlaybackRate
Link copied to clipboard
fun getPlaybackRate(): Single<GetPlaybackRateResponse>
Gets the playback rate of the document timeline.
name
Link copied to clipboard
fun name(): String
Returns domain name.
releaseAnimations
Link copied to clipboard
fun releaseAnimations(input: ReleaseAnimationsRequest): Single<RequestResponseFrame>
Releases a set of animations to no longer be manipulated.
resolveAnimation
Link copied to clipboard
fun resolveAnimation(input: ResolveAnimationRequest): Single<ResolveAnimationResponse>
Gets the remote object of the Animation.
seekAnimations
Link copied to clipboard
fun seekAnimations(input: SeekAnimationsRequest): Single<RequestResponseFrame>
Seek a set of animations to a particular time within each animation.
setPaused
Link copied to clipboard
fun setPaused(input: SetPausedRequest): Single<RequestResponseFrame>
Sets the paused state of a set of animations.
setPlaybackRate
Link copied to clipboard
fun setPlaybackRate(input: SetPlaybackRateRequest): Single<RequestResponseFrame>
Sets the playback rate of the document timeline.
setTiming
Link copied to clipboard
fun setTiming(input: SetTimingRequest): Single<RequestResponseFrame>
Sets the timing of an animation node.

Sources

jvm source
Link copied to clipboard